package com.googlecode.likesql.converter;

import java.util.List;

import com.googlecode.likesql.LikeSql;

/**
 * @author Johny Huang
 *
 */
public class LikeSqlConverter implements Converter{

	public String toTemplate(Object obj) {
		LikeSql exp=(LikeSql)obj;
		return exp.toTemplate();
	}
	
	public String toSql(Object obj){
		LikeSql exp=(LikeSql)obj;
		return exp.toString();
	}

	public List toValueList(Object obj) {
		LikeSql exp=(LikeSql)obj;
		return exp.getValueList();
	}
	
	
}
